package com.lwm.domain;

import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 工厂建模明细表(关联表)(FactoryDetail)实体类
 *
 * @author makejava
 * @since 2023-08-02 13:08:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)//忽略空
public class FactoryDetail implements Serializable {
    private static final long serialVersionUID = 163918580766163755L;
    /**
     * 编号
     */
    private Long id;
    /**
     * 工厂建模id
     */
    private Long factoryId;
    /**
     * 物料档案id
     */
    private Long recordId;
    /**
     * 设备信息id
     */
    private Long deviceId;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")//转换日期格式
    private Date createTime;
    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")//转换日期格式
    private Date updateTime;
    /**
     * 0 未删除(默认), 1 已删除
     */
    private Integer isDeleted;
}
